set(src_dirs
            LED
            KEY
            EXIT
            UART)
set(include_dirs
            LED
            KEY
            EXIT
            UART)
set(requires
            esp_driver_gpio
            esp_driver_uart)

idf_component_register( SRC_DIRS ${src_dirs} 
                        INCLUDE_DIRS ${include_dirs}
                        REQUIRES ${requires})
component_compile_options(-ffast-math -O3 -Wno-error=format=-Wno-format)